package com.eorchis.module.classplanapply.bean.export;

import com.eorchis.utils.excelutil.export.bo.ExportObject;
import com.eorchis.utils.excelutil.export.bo.Sheet;

public class ClassPlanSignSheet implements Sheet {

	/**
	 * 对比
	 */
	public static final String SHEET_NAME_COMPARATION = "名额对比表";
	public static final String EXPORT_FORMAT_NAME_COMPARATION = "exportSignUserComparationConfig";
	/**
	 * 计划名额
	 */
	public static final String SHEET_NAME_PLAN = "计划名额表";
	public static final String EXPORT_FORMAT_NAME_PLAN = "exportSignUserPlanConfig";
	private ExportObject exportObject;
	private String exportFormatName;
	private String sheetName;

	public ClassPlanSignSheet() {

	}

	public ClassPlanSignSheet(ExportObject exportObject, String formatName) {
		this.exportObject = exportObject;
		this.exportFormatName = formatName;
		if (EXPORT_FORMAT_NAME_COMPARATION.equals(formatName)) {
			this.sheetName = SHEET_NAME_COMPARATION;
		}
		if (EXPORT_FORMAT_NAME_PLAN.equals(formatName)) {
			this.sheetName = SHEET_NAME_PLAN;
		}
	}

	@Override
	public ExportObject getExportObject() {
		return exportObject;
	}

	@Override
	public String getExprotFormatName() {
		return exportFormatName;
	}

	@Override
	public String getSheetName() {
		return sheetName;
	}

	public void setExportObject(ExportObject exportObject) {
		this.exportObject = exportObject;
	}

	public String getExportFormatName() {
		return exportFormatName;
	}

	public void setExportFormatName(String exportFormatName) {
		this.exportFormatName = exportFormatName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

}
